package com.youedata.modular.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.youedata.modular.entity.LegalServiceInfo;
import com.youedata.modular.mapper.LegalServiceInfoMapper;
import com.youedata.modular.service.ILegalServiceInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 法律服务所表 服务实现类
 * </p>
 *
 * @author qy
 * @date 2021-07-15
 */
@Service
@Transactional(rollbackFor = Exception.class)

public class LegalServiceInfoServiceImpl extends ServiceImpl<LegalServiceInfoMapper, LegalServiceInfo> implements ILegalServiceInfoService {
    @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
    @Autowired
    private LegalServiceInfoMapper legalServiceInfoMapper;

    @Override
    public List queryLegalServiceInfoFuzzy(Page page, LegalServiceInfo legalServiceInfo) {
        return legalServiceInfoMapper.queryLegalServiceInfoFuzzy(page, legalServiceInfo);
    }
}

